* dist2powerplant.r
* calc on server in parallel

*use "proc_data\DIST2PP_2020-09-30.dta", clear

use "proc_data\DIST2PP_all2021-03-23.dta", clear

rename *, lower

*label variable dist2ppafr "Distance to any operational powerplants in Africa : AICD"

label variable dist2ppctr "Distance to any operational powerplants within the country : AICD"

label variable dist2pplcd "Distance to any operational powerplants in the 4 lake chad countries : AICD"

label variable dist2ppafr "Distance to any operational powerplants in Africa : AICD"

label variable dist2ppwrilcd "Distance to any operational powerplants in the 4 lake chad countries : WRI"

label variable dist2ppwriafr "Distance to any operational powerplants in Africa : WRI"

save "proc_data\DIST2PP_all.dta", replace

